<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class BuildStarRanks extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('build_star_ranks',function(Blueprint $table){
            $table->engine="InnoDB";
            $table->increments("id");
            $table->integer("build_id");
            $table->float("stas");
            $table->integer("rank");
            $table->rememberToken();
            $table->integer("addtime");
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
         Schema::drop('build_star_ranks');
    }
}
